Leadtools.Dicom.Common
LEAD Technologies, Inc

Get<T>(DicomDataSet) Method






The type of data to get from the DICOM dataset.
The data set to read the information from.
Gets the specified data from the DICOM dataset and assigns it in a new instance of T.
Syntax
[ExtensionAttribute()]
public static T Get<T>( 
   DicomDataSet ds
)
where T: 
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function Get(Of T As {})( _
   ByVal ds As DicomDataSet _
) As T
'Usage
 
Dim ds As DicomDataSet
Dim value As T
 
value = DicomExtensions.Get(Of T)(ds)
[ExtensionAttribute()]
public static T Get<T>( 
   DicomDataSet ds
)where T: 
ExtensionAttribute()
 function Leadtools.Dicom.Common.Extensions.DicomExtensions.Get``1(DicomDataSet)( 
   ds 
)
[ExtensionAttribute()]
public:
static T^ Getgeneric<typename T>
( 
   DicomDataSet^ ds
) 
where T: 

Parameters

ds
The data set to read the information from.

Type Parameters

T
The type of data to get from the DICOM dataset.

Return Value

A new instance of T with the information from the DICOM dataset.
Example
For an example refer to ElementAttribute
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomExtensions Class
DicomExtensions Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features